<?php echo $session->flash(); ?>
<?php 
echo $form->create(array(
	'id'		=> 'frm',
	'action'	=> 'edit',
	'enctype'	=> 'multipart/form-data',
)); 
?>
 	<div class="input">
      <label><?php echo __('Name', true); ?></label>
      <?php echo $this->Form->input('Picture.name_eng', array('type' => 'text', 'label' => false, 'div' => false)); ?> 
  	</div>
	<div class="input">
      <label><?php echo __('Name', true); ?></label>
      <?php echo $this->Form->input('Picture.name_vie', array('type' => 'text', 'label' => false, 'div' => false)); ?> 
  	</div>
  	<div class="input">
      <label><?php echo __('Sort', true); ?></label>
      <?php echo $this->Form->input('Picture.sort', array('type' => 'text', 'label' => false, 'div' => false)); ?> 
  	</div>
 	<div class="input">
		<label>Image file(<300kb)</label>
		<?php if(!empty($this->data['Picture']['image_link'])) { 
					echo $form->hidden('Picture.image_link');
		?>
			<img src="<?php echo IMG_URL .'project/'. $this->data['Picture']['image_link']; ?>" width="60px" />
		<?php } ?>
		<?php
			echo $form->file('Picture.image');
		?>
   	</div>
	<div class="input" align="center" >
      <?php echo $form->button('', array('class'=>'submit', 'type'=>'submit', 'id'=>'regSubmit')); ?>
     	<?php echo $form->button('', array('class'=>'reset', 'type'=>'reset')); ?>
    </div>
    <?php echo $form->hidden('Client.id'); ?>
<?php echo $form->end(); ?>


